package com.example.zhangxin.zyfypt_124zx.service;


import com.example.zhangxin.zyfypt_124zx.bean.TcaseBean;

import java.util.List;

import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;


/**
 * Created by zhangxin on 2017/4/19.
 */
//文章访问的Retrofit接口
public interface TcaseService {
    @GET("api.php/lists/mod/{mod}")
    retrofit2.Call<List<TcaseBean>> getResult(
            @Path("mod") String mod,
            @Query("page") int page,
            @Header("SessionID") String sessionID
    );
}
